home *** CD-ROM | disk | FTP | other *** search
/ CICA 1993 April / CICA MS Windows - April 1993.iso / unzipped / util / mews11 / efunc.h < prev    next >
Text File  |  1992-03-14  |  8KB  |  289 lines

  1. /*    EFUNC.H:    MicroEMACS function declarations and names
  2.  
  3.         This file list all the C code functions used by
  4.    MicroEMACS and the names to use to bind keys to them. To add
  5.    functions, declare it here in both the extern function list and the
  6.    name binding table.
  7.  
  8. */
  9.  
  10. /*    Name to function binding table
  11.  
  12.         This table gives the names of all the bindable functions
  13.     end their C function address. These are used for the bind-to-key
  14.     function.
  15. */
  16.  
  17. NOSHARE NBIND    names[] = {
  18.     {"abort-command",        ctrlg},
  19.     {"add-global-mode",        setgmode},
  20.     {"add-mode",            setmod},
  21.     {"append-file",            fileapp},
  22.     {"apropos",            apro},
  23. #if    CTAGS
  24.     {"back-from-tag-word",        backtagword},
  25. #endif
  26.     {"backward-character",        backchar},
  27.     {"begin-macro",            ctlxlp},
  28.     {"beginning-of-file",        gotobob},
  29.     {"beginning-of-line",        gotobol},
  30.     {"bind-to-key",            bindtokey},
  31. #if        WINDOW_MSWIN
  32.     {"bind-to-menu",                bindtomenu},
  33. #endif
  34.     {"buffer-position",        showcpos},
  35. #if        WINDOW_MSWIN
  36.     {"cascade-screens",             cascadescreens},
  37. #endif
  38.     {"case-region-lower",        lowerregion},
  39.     {"case-region-upper",        upperregion},
  40.     {"case-word-capitalize",    capword},
  41.     {"case-word-lower",        lowerword},
  42.     {"case-word-upper",        upperword},
  43.     {"change-file-name",        filename},
  44.     {"change-screen-column",    new_col_org},
  45.     {"change-screen-row",        new_row_org},
  46.     {"change-screen-size",        newsize},
  47.     {"change-screen-width",        newwidth},
  48.     {"clear-and-redraw",        refresh},
  49.     {"clear-message-line",        clrmes},
  50. #if        WINDOW_MSWIN
  51.     {"clip-region",                 clipregion},
  52. #endif
  53.     {"copy-region",            copyregion},
  54.     {"count-words",            wordcount},
  55.     {"ctlx-prefix",            cex},
  56. #if        WINDOW_MSWIN
  57.     {"cut-region",                  cutregion},
  58. #endif
  59.     {"cycle-ring",            cycle_ring},
  60.     {"cycle-screens",        cycle_screens},
  61.     {"delete-blank-lines",        deblank},
  62.     {"delete-buffer",        killbuffer},
  63.     {"delete-global-mode",        delgmode},
  64.     {"delete-kill-ring",        clear_ring},
  65.     {"delete-mode",            delmode},
  66.     {"delete-next-character",    forwdel},
  67.     {"delete-next-word",        delfword},
  68.     {"delete-other-windows",    onlywind},
  69.     {"delete-previous-character",    backdel},
  70.     {"delete-previous-word",    delbword},
  71.     {"delete-screen",        delete_screen},
  72.     {"delete-window",        delwind},
  73.     {"describe-bindings",        desbind},
  74. #if    DEBUGM
  75.     {"describe-functions",        desfunc},
  76. #endif
  77.     {"describe-key",        deskey},
  78. #if    DEBUGM
  79.     {"describe-variables",        desvars},
  80. #endif
  81.     {"detab-line",            detab},
  82.     {"detab-region",        detab},
  83. #if    DEBUGM
  84.     {"display",            dispvar},
  85. #endif
  86.     {"end-macro",            ctlxrp},
  87.     {"end-of-file",            gotoeob},
  88.     {"end-of-line",            gotoeol},
  89.     {"end-of-word",            endword},
  90.     {"entab-line",            entab},
  91.     {"entab-region",        entab},
  92.     {"exchange-point-and-mark",    swapmark},
  93.     {"execute-buffer",        execbuf},
  94.     {"execute-command-line",    execcmd},
  95.     {"execute-file",        execfile},
  96.     {"execute-macro",        ctlxe},
  97.     {"execute-macro-1",        cbuf1},
  98.     {"execute-macro-10",        cbuf10},
  99.     {"execute-macro-11",        cbuf11},
  100.     {"execute-macro-12",        cbuf12},
  101.     {"execute-macro-13",        cbuf13},
  102.     {"execute-macro-14",        cbuf14},
  103.     {"execute-macro-15",        cbuf15},
  104.     {"execute-macro-16",        cbuf16},
  105.     {"execute-macro-17",        cbuf17},
  106.     {"execute-macro-18",        cbuf18},
  107.     {"execute-macro-19",        cbuf19},
  108.     {"execute-macro-2",        cbuf2},
  109.     {"execute-macro-20",        cbuf20},
  110.     {"execute-macro-21",        cbuf21},
  111.     {"execute-macro-22",        cbuf22},
  112.     {"execute-macro-23",        cbuf23},
  113.     {"execute-macro-24",        cbuf24},
  114.     {"execute-macro-25",        cbuf25},
  115.     {"execute-macro-26",        cbuf26},
  116.     {"execute-macro-27",        cbuf27},
  117.     {"execute-macro-28",        cbuf28},
  118.     {"execute-macro-29",        cbuf29},
  119.     {"execute-macro-3",        cbuf3},
  120.     {"execute-macro-30",        cbuf30},
  121.     {"execute-macro-31",        cbuf31},
  122.     {"execute-macro-32",        cbuf32},
  123.     {"execute-macro-33",        cbuf33},
  124.     {"execute-macro-34",        cbuf34},
  125.     {"execute-macro-35",        cbuf35},
  126.     {"execute-macro-36",        cbuf36},
  127.     {"execute-macro-37",        cbuf37},
  128.     {"execute-macro-38",        cbuf38},
  129.     {"execute-macro-39",        cbuf39},
  130.     {"execute-macro-4",        cbuf4},
  131.     {"execute-macro-40",        cbuf40},
  132.     {"execute-macro-5",        cbuf5},
  133.     {"execute-macro-6",        cbuf6},
  134.     {"execute-macro-7",        cbuf7},
  135.     {"execute-macro-8",        cbuf8},
  136.     {"execute-macro-9",        cbuf9},
  137.     {"execute-named-command",    namedcmd},
  138.     {"execute-procedure",        execproc},
  139.     {"execute-program",        execprg},
  140.     {"exit-emacs",            quit},
  141.     {"fill-paragraph",        fillpara},
  142.     {"filter-buffer",        filter},
  143.     {"find-file",            filefind},
  144.     {"find-screen",            find_screen},
  145.     {"forward-character",        forwchar},
  146.     {"goto-line",            gotoline},
  147.     {"goto-mark",            gotomark},
  148.     {"goto-matching-fence",        getfence},
  149.     {"grow-window",            enlargewind},
  150.     {"handle-tab",            tab},
  151.     {"help",            help},
  152. #if        WINDOW_MSWIN
  153.     {"help-engine",                 helpengine},
  154. #endif
  155.     {"hunt-backward",        backhunt},
  156.     {"hunt-forward",        forwhunt},
  157.     {"i-shell",            spawncli},
  158. #if    ISRCH
  159.     {"incremental-search",        fisearch},
  160. #endif
  161.     {"indent-region",        indent_region},
  162. #if        WINDOW_MSWIN
  163.     {"insert-clip",                 insertclip},
  164. #endif
  165.     {"insert-file",            insfile},
  166.     {"insert-space",        insspace},
  167.     {"insert-string",        istring},
  168.     {"kill-paragraph",        killpara},
  169.     {"kill-region",            killregion},
  170.     {"kill-to-end-of-line",        killtext},
  171. #if    FLABEL
  172.     {"label-function-key",        fnclabel},
  173. #endif
  174.     {"list-buffers",        listbuffers},
  175.     {"list-screens",        list_screens},
  176.     {"macro-to-key",        macrotokey},
  177. #if        WINDOW_MSWIN
  178.     {"macro-to-menu",               macrotomenu},
  179.     {"maximize-screen",             maximizescreen},
  180. #endif
  181.     {"meta-prefix",            meta},
  182. #if        WINDOW_MSWIN
  183.     {"minimize-screen",             minimizescreen},
  184. #endif
  185. #if    MOUSE
  186.     {"mouse-move-down",        movemd},
  187.     {"mouse-move-up",        movemu},
  188.     {"mouse-region-down",        mregdown},
  189.     {"mouse-region-up",        mregup},
  190.     {"mouse-resize-screen",        resizm},
  191. #endif
  192.     {"move-window-down",        mvdnwind},
  193.     {"move-window-up",        mvupwind},
  194.     {"name-buffer",            namebuffer},
  195.     {"narrow-to-region",        narrow},
  196.     {"newline",            newline},
  197.     {"newline-and-indent",        indent},
  198.     {"next-buffer",            nextbuffer},
  199.     {"next-line",            forwline},
  200.     {"next-page",            forwpage},
  201.     {"next-paragraph",        gotoeop},
  202.     {"next-window",            nextwind},
  203.     {"next-word",            forwword},
  204.     {"nop",                nullproc},
  205.     {"open-line",            openline},
  206.     {"overwrite-string",        ovstring},
  207.     {"pipe-command",        pipecmd},
  208.     {"pop-buffer",            popbuffer},
  209.     {"previous-line",        backline},
  210.     {"previous-page",        backpage},
  211.     {"previous-paragraph",        gotobop},
  212.     {"previous-window",        prevwind},
  213.     {"previous-word",        backword},
  214.     {"print",            writemsg},
  215.     {"query-replace-string",    qreplace},
  216.     {"quick-exit",            quickexit},
  217.     {"quote-character",        quote},
  218. #if    CTAGS
  219.     {"re-tag-word",            retagword},
  220. #endif
  221.     {"read-file",            fileread},
  222.     {"redraw-display",        reposition},
  223.     {"remove-mark",            remmark},
  224. #if        WINDOW_MSWIN
  225.     {"rename-screen",        renamescreen},
  226. #endif
  227.     {"replace-string",        sreplace},
  228.     {"resize-window",        resize},
  229. #if        WINDOW_MSWIN
  230.     {"restore-screen",              restorescreen},
  231. #endif
  232.     {"restore-window",        restwnd},
  233. #if    ISRCH
  234.     {"reverse-incremental-search",    risearch},
  235. #endif
  236.     {"run",                execproc},
  237.     {"save-file",            filesave},
  238.     {"save-window",            savewnd},
  239.     {"scroll-next-down",        nextdown},
  240.     {"scroll-next-up",        nextup},
  241.     {"search-forward",        forwsearch},
  242.     {"search-reverse",        backsearch},
  243.     {"select-buffer",        usebuffer},
  244.     {"set",                setvar},
  245. #if    CRYPT
  246.     {"set-encryption-key",        setekey},
  247. #endif
  248.     {"set-fill-column",        setfillcol},
  249.     {"set-mark",            setmark},
  250.     {"shell-command",        spawn},
  251.     {"show-files",            showfiles},
  252.     {"shrink-window",        shrinkwind},
  253.     {"source",            execfile},
  254.     {"split-current-window",    splitwind},
  255.     {"store-macro",            storemac},
  256.     {"store-procedure",        storeproc},
  257. #if    BSD || VMS || SUN || HPUX || AVIION
  258.     {"suspend-emacs",        bktoshell},
  259. #endif
  260. #if    CTAGS
  261.     {"tag-word",            tagword},
  262. #endif
  263. #if        WINDOW_MSWIN
  264.     {"tile-screens",                tilescreens},
  265. #endif
  266.     {"transpose-characters",    twiddle},
  267.     {"trim-line",            trim},
  268.     {"trim-region",            trim},
  269.     {"unbind-key",            unbindkey},
  270. #if        WINDOW_MSWIN
  271.     {"unbind-menu",                 unbindmenu},
  272. #endif
  273.     {"undent-region",        undent_region},
  274.     {"universal-argument",        unarg},
  275.     {"unmark-buffer",        unmark},
  276.     {"update-screen",        upscreen},
  277.     {"view-file",            viewfile},
  278.     {"widen-from-region",        widen},
  279.     {"wrap-word",            wrapword},
  280.     {"write-file",            filewrite},
  281.     {"write-message",        writemsg},
  282.     {"yank",            yank},
  283.     {"yank-pop",            yank_pop},
  284.  
  285.     {"",            NULL}
  286. };
  287.  
  288. #define    NFUNCS    (sizeof(names)/sizeof(NBIND)) - 1
  289.